/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.lejos.example;
import lejos.nxt.*;

/**
 *
 * @author Steed
 */
public class Backward {

    public static void main(String[]args)
    {
        Motor.B.setSpeed(360);
        Motor.C.setSpeed(360);

        Motor.B.rotate(-360*5,true);
        Motor.C.rotate(-360*5,true);

        while(Motor.B.isMoving()&&Motor.C.isMoving())
        {

        }

    }

}
